You are here: Statements and Functions > Move For
Syntax samples
MOVE FOR <time>
MOVE FOR 0
MOVE FOR 2.5 + CleanupTime
MOVE FOR N(8, .5) + 3 sec
Used to specify the amount of time required to move the entity. A move-time of zero may be entered to cause events for other entities occurring at the same simulation time to be processed before any additional logic is processed for the current entity. If no move related statement (MOVE FOR, MOVE ON, MOVE WITH) is specified, the entity instantly enters the next location and immediately begins executing the operation logic for that location.
This statement is valid in Move Logic. MOVE FOR may be encountered only once by an entity in the same logic.
Components
<time>
The length of time the system takes to execute the move. This expression is evaluated whenever the statement is encountered. If no time unit is specified, the default time unit specified in the General Information dialog is applied.
Example
It takes 4 minutes for the entity, Cutter, to move from one location, Grinder, to the next location, Profiler.
Process Table
Entity |
Location |
Operation (min) |
---|---|---|
Cutter |
Grinder |
GET Operator WAIT 1 |
Cutter |
Profiler |
WAIT Attr1 |
Routing Table
Blk |
Output |
Destination |
Rule |
Move Logic |
---|---|---|---|---|
1 |
Cutter |
Profiler |
FIRST 1 |
MOVE FOR 4 |
1 |
Cutter |
Exit |
|
|
MOVE ON and MOVE WITH. Also see Routing Move Logic.